package com.michael.aop;

import com.michael.aop.annotation.Log;
import org.springframework.stereotype.Component;

@Component
public class Account {
    private int balance = 100;

    @Log(value = "valuesss",name = 5456465)
    public void withDraw(int amount) {
        System.out.println("release Method executor: amount = " + amount);
        balance -= amount;
    }
}
